package com.airticketbooking.query;

import com.airticketbooking.common.domain.PageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/8
 * @desc
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class FlightSchedulePageQuery extends PageQuery {

	private String departureAirportName;

	private String arrivalAirportName;

	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date departureDate;
}
